package com.example.emos.wx.db.dao;

import com.example.emos.wx.db.pojo.TbUser;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.Set;


@Mapper
public interface TbUserDao {
    public boolean haveRootUser();
    public  int insert(HashMap param);
    public Integer searchIdByOpenId(String openId);
    public Set<String> searchUserPermissions(int userId);
    public TbUser searchById(int userId);
    public HashMap searchNameAndDept(int userId);

}